package com.swh.xbsc.mapper;


import com.swh.xbsc.entity.UserFocus;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.SelectProvider;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;


@org.apache.ibatis.annotations.Mapper
public interface UserFocusMapper extends Mapper<UserFocus> {

    @SelectProvider(type = UserFocusProvider.class, method = "selectPage")
    List<UserFocus> selectPage(Map<String, Object> map);

    @Delete(" DELETE FROM user_focus WHERE user_focus_id=#{id} ")
    int doDelete(Integer id);


}
